package com.example.service;

import com.example.pojo.Emp;
import com.example.pojo.PageBean;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

public interface EmpService {
    PageBean page(Integer page, Integer pageSize,
                  String name, Short gender,
                  LocalDate begin, LocalDate end);

    void delete(Integer[] ids);

    void save(Emp emp);

    Emp getById(Integer id);

    void update(Emp emp);
    //登录
    Emp login(Emp emp);
}
